package com.whcoding.base.project.annotion;

import com.whcoding.base.project.constant.BusinessTypeEnum;

import java.lang.annotation.*;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-06-08 16:00
 **/
@Target(ElementType.METHOD) //作用于方法上
@Retention(RetentionPolicy.RUNTIME) //运行时生效
@Documented
public @interface AutoLog {
	/**
	 * 日志内容
	 *
	 * @return
	 */
	String value() default "";

	/**
	 * 功能
	 */
	BusinessTypeEnum businessType() default BusinessTypeEnum.OTHER;
}
